package com.qf.dao;

import com.qf.pojo.po.PlaneOrderDetail;
import com.qf.pojo.resp.PlaneOrderResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PetMapper {

    void insertOrderDetail(PlaneOrderDetail planeOrderDetail);

    List<PlaneOrderResp> findXcOrderById(@Param("userId") Integer userId);

    List<PlaneOrderResp> findXcOrderByIdAll(@Param("userId") Integer userId);
}
